package de.karlNet.sambamanager.view.beans;

import org.primefaces.model.DefaultTreeNode;
import org.primefaces.model.TreeNode;

import de.karlNet.sambamanager.ldapModel.LdapObject;

public class ManualLeafHandlingTreeNode extends DefaultTreeNode {
	public ManualLeafHandlingTreeNode(LdapObject string, TreeNode root) {
		super(string, root);
	}

	@Override
	public boolean isLeaf() {
		return false;
	}

	public void setLdapObject(LdapObject ldapObject) {
		this.setData(ldapObject);
	}
	
	public LdapObject getLdapObject() {
		return (LdapObject) this.getData();
	}
}
